package com.lanou.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wangxinleibobo
 */
@Controller
public class SAllController {
    /**
     * 跳转到购物车界面
     *
     * @param vipAccount
     * @param vipNo
     * @return
     */
    @RequestMapping(value = "/shopcar.do")
    public String shopcar(String vipAccount, String vipNo) {
        System.out.println(vipAccount + vipNo);
        return "view/shopcar";
    }

    /**
     * 跳转到主页
     *
     * @return
     */
    @RequestMapping(value = "/start.do")
    public String start() {
        return "view/page";
    }
}
